const express = require("express");
const axios = require("axios");
const app = express();
app.use(express.static(__dirname));
// http://127.0.0.1:80/jd
app.get("/jd",(req,res)=>{
    const url = "https://mapi.m.jd.com/bottomNav/getBottomNavigation.action?_format_=json&isNewVersion=1&curtainVersion=null&t=0.22223236862587892";
    axios.get(url).then(value=>{
        res.json(value.data.icons);
    })
})
app.listen(80,()=>{
    console.log("success");
})
